/*
 * Copyright(C) 2012 Luvina Software Company
 *
 * Message_error.java, May 30, 2012 HaiPD
 */
package net.luvina.manageuser.util;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

/**
 * Message_ja_JP.java
 *
 * @author HaiPD
 *
 */
public class Message_ja_JP {
	private static final String BUNDLE_NAME = "./message_ja_JP";

	private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
			.getBundle(BUNDLE_NAME);

	/**
	 * Contructor
	 */
	private Message_ja_JP() {
	}

	/**
	 * Get string from properties file.
	 *
	 * @param key
	 *            String
	 * @return string in properties file.
	 */
	public static String getString(String key) {
		try {
			return RESOURCE_BUNDLE.getString(key);
		} catch (MissingResourceException e) {
			return '!' + key + '!';
		}
	}
}
